/**
 * Copyright 2009 Takahiko Ito
 *
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.unigram.oluolu.rqe;

/**
 * Class containing constants used in rqe package. 
 */
public final class RqeConstants {

    /** symbol: selector class name. */
    public static final String RQE_SELECTOR
        = "oluolu.rqe.selector";

    /** symbol: minimum support. */
    public static final String RQE_MINIMUM_SUPPORT
        = "oluolu.rqe.minimum.support";

    /** symbol: threshold of time range. */
    public static final String RQE_TIME_RANGE
        = "oluolu.rqe.time.range";

    /** symbol: maximum number of queries one person. */
    public static final String RQE_MAX_QUERY_NUMBER
        = "oluolu.rqe.max.query.number";

    /** symbol: suffix of rqe output. */
    public static final String RQE_SUFFIX = "oluolu.rqe.suffix";

    /** symbol: candidate suffix of rqe output file. */
    public static final String RQE_CANDIDATE_SUFFIX
        = "oluolu.rqe.candidate.suffix";

    /** symbol: post processor. */
    public static final String RQE_POST_PROCESSOR
        = "oluolu.rqe.post-processor";
    
    /** symbol: post processor. */
    public static final String RQE_SHOW_SCORE
        = "oluolu.rqe.show.score";    

    /** symbol: post processor threshold. */
    public static final String POST_FREQUENCY_THRESHOLD
        = "oluolu.rqe.postprocessor.threshold";
    
    /** default: threshold of time range. */
    public static final long DEFAULT_RQE_TIME_RANGE = 100000;

    /** default: minimum support. */
    public static final long DEFAULT_RQE_MINIMUM_SUPPORT = 1;

    /** default: selector class. */
    public static final String DEFAULT_RQE_SELECTOR
        = "org.unigram.oluolu.rqe.selector.CosineSelector";

    /** default: maximum number of queries from one person. */
    public static final int DEFAULT_RQE_MAX_QUERY_NUMBER = 500;

    /** default: suffix of rqe output file. */
    public static final String DEFAULT_RQE_SUFFIX = "rq";

    /** default: suffix of temporal file of rqe. */
    public static final String DEFAULT_RQE_CANDIDATE_SUFFIX
        = "candidate";

    /** default: rqe post processor. */
    public static final String DEFAULT_RQE_POST_PROCESSOR
        = "org.unigram.oluolu.rqe.postprocessor.PlainPostProcessor";
    
    /** default: rqe post processor threhold. */
    public static final int DEFAULT_POST_FREQUENCY_THRESHOLD = 3;    

    /** For safe. */
    private RqeConstants() {}    
}
